<?php
/**
 *环境设置
 *
 *@package chino
 */

$thisDir	= dirname(__FILE__);
$upDir		= dirname($thisDir);

define("DEBUG", false);
define("CHINO_WWWROOT", $upDir);
define("CHINO_WWWURL", "./?");
define("CHINO_PHPPATH", $upDir . "/php");
define("CHINO_PATH", CHINO_PHPPATH . "/chino");
define("CHINO_LIBPATH", CHINO_PHPPATH . "/lib");
define("CHINO_MODPATH", CHINO_PHPPATH . "/module");
define("CHINO_CACHEBASE", $upDir . "/cache");
define("CHINO_LOGPATH", CHINO_PHPPATH . "/logs");
define("CHINO_DEFAULTENCODE", "UTF-8");
define("CHINO_DEFAULTMODULE", "index");
define("SMARTYPATH", CHINO_LIBPATH."/Smarty.class.php");
define("ADODBPATH",CHINO_LIBPATH."/adodb.inc.php");

$raceList	= array('0'=>array('兽人', '獸人', 'orcs'),
					'1'=>array('牛头人','牛頭人','tauren'),
					'2'=>array('巨魔','食人妖','trolls'),
					'3'=>array('亡灵','不死族','undead'),
					'4'=>array('人类','人類','humans'),
					'5'=>array('矮人','矮人','dwarves'),
					'6'=>array('侏儒','地精','gnomes'),
					'7'=>array('暗夜精灵','夜精靈','night elves'),
					'8'=>array('血精灵','血精靈','blood elves'),
					'9'=>array('德莱尼人','德萊尼','draenei'),
					'10'=>array('地精','哥布林','gggggg'),
					'11'=>array('狼人','狼人','狼人'),
);

$classList	= array('0'=>array('战士','戰士','warrior'),
					'1'=>array('法师','法師','mage'),
					'2'=>array('牧师','牧師','priest'),
					'3'=>array('盗贼','盜賊','rogue'),
					'4'=>array('德鲁伊','德魯伊','druid'),
					'5'=>array('术士','術士','warlock'),
					'6'=>array('猎人','獵人','hunter'),
					'7'=>array('萨满祭司','薩滿','shaman'),
					'8'=>array('圣骑士','聖騎士','paladin'),
					'9'=>array('死亡骑士','死亡騎士','dead knight'),
);

$moduleTable = array();




?>